package com.ruoyi.project.business.domain;



import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;

import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;

import com.ruoyi.framework.web.domain.BaseEntity;



/**

 * 农田服务对象 business_farm_service

 * 

 * @author ruoyi

 * @date 2020-10-21

 */

public class BusinessFarmService extends BaseEntity

{

    private static final long serialVersionUID = 1L;



    /** 服务ID */

    private Long id;



    /** 服务名称 */

    @Excel(name = "服务名称")

    private String name;



    /** 服务类型 */

    @Excel(name = "服务类型")

    private Long type;



    /** 说明描述 */

    @Excel(name = "说明描述")

    private String explain;



    /** 价格 */

    @Excel(name = "价格")

    private BigDecimal price;



    /** 图片 */

    @Excel(name = "图片")

    private String picture;



    public void setId(Long id) 

    {

        this.id = id;

    }



    public Long getId() 

    {

        return id;

    }

    public void setName(String name) 

    {

        this.name = name;

    }



    public String getName() 

    {

        return name;

    }

    public void setType(Long type) 

    {

        this.type = type;

    }



    public Long getType() 

    {

        return type;

    }

    public void setExplain(String explain) 

    {

        this.explain = explain;

    }



    public String getExplain() 

    {

        return explain;

    }

    public void setPrice(BigDecimal price) 

    {

        this.price = price;

    }



    public BigDecimal getPrice() 

    {

        return price;

    }

    public void setPicture(String picture) 

    {

        this.picture = picture;

    }



    public String getPicture() 

    {

        return picture;

    }



    @Override

    public String toString() {

        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

            .append("id", getId())

            .append("name", getName())

            .append("type", getType())

            .append("explain", getExplain())

            .append("price", getPrice())

            .append("picture", getPicture())

            .append("createBy", getCreateBy())

            .append("createTime", getCreateTime())

            .append("updateBy", getUpdateBy())

            .append("updateTime", getUpdateTime())

            .toString();

    }

}
